<template>
  <div class="login-tip-wrapper" v-if="!$store.state.userModule.isLogin">
    <span>友情提示：您当前账号未 </span>
    <a href="https://passport.jd.com/new/login.aspx" target="_blank" class="login-link"
      >登录京东</a
    >
    <span>，登录后可查询推广计划和详细信息！</span>
  </div>
</template>

<script>
export default {
  data() {
    return {
    };
  },
  mounted(){
    this.$store.commit("userModule/chargeIsLogin")
  }
};
</script>

<style lang="less" scoped>
.login-tip-wrapper {
  height: 41px;
  text-align: center;
  line-height: 41px;
  font-size: 12px;
  font-weight: 400;
  color: #666666;
  .login-link {
    color: #f52d36;
  }
}
</style>